package model

import "gorm.io/gorm"

type Category struct {
	gorm.Model
	ParentId int    `json:"parent_id"`
	Name     string `json:"name" gorm:"type:varchar(255);not null"`
	PicUrl   string `json:"pic_url" gorm:"type:varchar(255);not null"`
	Sort     int    `json:"sort"`
	Level    int    `json:"level"`
}
